/* function fn1() {
    console.log('fn1被调用了 -- 创建了fn1的函数执行上下文，压入栈');
    fn2(); 
    console.log('fn2执行完成，fn2的执行上下文会从栈中弹出');
  }
  
  function fn2() {
    console.log('fn2被调用了 -- 创建了fn2的函数执行上下文，压入栈');
  }
  
  fn1();
  console.log('fn1执行完成，fn2的执行上下文会从栈中弹出'); */


/*   console.log(a, b);//undefined undefined
var a = 12,
    b = 12;

function fn() {
    console.log(a, b);//=>undefined 12
    var a = b = 13; 
    
    console.log(a, b);//=>13 13
}

fn();
console.log(a, b);//=>12 13 */


/* fn();//=>4
function fn() {console.log(1);}
fn();//=>4
function fn() {console.log(2);}
fn();//=>4
var fn=100;//=>带VAR的在提升阶段只把声明处理了,赋值操作没有处理,所以在代码执行的时候需要完成赋值 FN=100
fn();//=>100() Uncaught TypeError: fn is not a function
function fn() {console.log(3);}
fn();
function fn() {console.log(4);}
fn();
 */


///////////////

// Fn fn () // 1
// Fn fn() // 2
// fn // 100
// Fn fn() // 3
// Fn fn() // 4

/* console.log(foo);
var foo = "变量";
function foo(){
	console.log("函数声明");
} */
// var foo = "变量";


/* let Time = new Date()
let year = Time.getFullYear()
let Month = Time.getMonth()+1
let day = Time.getDate()
let hours = Time.getHours()
let minutes = Time.getMinutes()
let seconds = Time.getSeconds() */
